<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
table, td, th{	border:0px solid black; }
th{	background-color:skyblue; color:white; font-size:14px; }
td{	background-color:gainsboro ;font-size:16px; text-align:center;}
</style>
</head>
<body>
<table>
	<tr>
		<td>
			<table border="5">
				<thead><tr><th>기준 날짜</th><th>재고량</th><th>적재 장소</th><th>적재 담당자</th></tr></thead>
				<tbody>
					<c:forEach items="${requestScope.map.stock}" var="svo">
						<tr><td>${svo.his_date}</td><td>${svo.st_mount}</td><td>${svo.st_location}</td><td>${svo.member_id}</td></tr>
					</c:forEach>
				</tbody>
			</table>
		</td>
		<td>
			<table border="5">
				<thead><tr><th>기준 날짜</th><th>요구 생산량</th><th>생산계획 담당자</th></tr></thead>
				<tbody>
					<c:forEach items="${requestScope.map.req}" var="rvo">
						<tr><td>${rvo.his_date}</td><td>${rvo.re_mount}</td><td>${rvo.member_id}</td></tr>
					</c:forEach>
				</tbody>
			</table>
		</td>
	</tr>
</table>
<hr>
<form action="factory.do">
<input type="hidden" name="command" value="setCloseToday">
<input type="text" name="st_location" placeholder="재고 적재 장소">>
<input type="text" name="s_re_mount" placeholder="명일 요구 생산량">>
<input type="hidden" name="member_id" value="${sessionScope.login.member_id}">
<input type="submit" value="공정 완료">
</form>
<br>
<br>
<br>
<center>
<img src="/BF_MES/img/resorce.png" style="vertical-align:middle;" width="200px" height="200px">
&nbsp;&nbsp;&nbsp;&nbsp;
<img src="/BF_MES/img/stock.png" style="vertical-align:middle;" width="200px" height="200px">
</center>
</body>
</html>